package cn.kgc.springcloud.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/2/16
 * @Description:
 */
@RestController
@RequestMapping("score")
public class ScoreController {

    @Value("${server.port}")
    private Integer port;

    @RequestMapping("add")
    public String addScore(){

        return "addScore ok port = "+port;
    }


}
